A Semantic Basis for Pointer Analysis
نویسنده
چکیده
Static analysis is most frequently used for compiler optimisa-tion, but it can also be used to derive properties which support the validation of software. For this purpose, the commonly available analysis tools have been based on a computational model involving a static set of named variables. This is inadequate for any language involving structures and pointers. However, considerable work has been done on pointer analysis algorithms, particularly for C, and mainly directed at the aliasing problem. These show promise of being the basis for techniques for verifying absence of pointer misuse. A formal semantics is developed for the use of pointers which enables analysis algorithms to be validated and compared. The language basis used is the Architecture Neutral Distribution Format (ANDF) a concept deened by the Open Software Foundation. Consequently the results are applicable to C, and any other language for which an ANDF producer exists.
منابع مشابه
Semantic Analysis for Parallelizing C
Automatic parallelization of C language programs is a diicult task due, for example, to side eeects within expressions and access to memory via pointers. We describe a method based on semantic analysis of the language, in order to detect parallelism in complex programs using pointer arithmetic. We deene semantic domains which respect the type system of the language, and use them to synthesize e...
متن کاملA Contrastive Analysis of Persian and English Compliment, Request, and Invitation Patterns within the Semantic Metalanguage Framework
Speech acts shape the core of pragmatic competence and their mastery is a prerequisite for successful dis- course encounters in an L2. Cross-cultural comparisons, as claimed by Johnstone (2018), are very effec- tive for knowing and acquiring the speech acts. Accordingly, the purpose of this study was to compare a limited number of communicative routines in English and Persian within the f...
متن کاملBridging the Semantic Gap Through Static Code Analysis
The semantic gap is a challenge inherent in all applications of virtual machine introspection (VMI). It describes the disconnect between the low-level state that the hypervisor has access to and its semantics within the guest. A common approach to bridge this gap is to utilize the debugging symbols of an inspected operating system kernel, although it is well understood that this information doe...
متن کاملCritical Analysis of the Moral-Spiritual Teaching of “abandonment of Worldly Belongings” (from Quiddity, its Feasibility and Desirability to the Analysis of Semantic Evolution of the World)
Analysis of quiddity, feasibility and desirability of “abandonment of worldly belongings” as one of the emphatic recommendations in the Islamic teachings and mystical literature is the subject of this article. While criticizing some preconceptions of this issue such as the darkness of the world, this phenomenological study will provide the basis for a correct explanation of the Islamic view of ...
متن کاملA sparse evaluation technique for detailed semantic analyses
We present a sparse evaluation technique that is effectively applicable to a set of elaborate semantic-based static analyses. Existing sparse evaluation techniques are effective only when the underlying analyses have comparably low precision. For example, if a pointer analysis precision is not affected by numeric statements like x≔1 then existing sparse evaluation techniques can remove the stat...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998